home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0814 / ibmsql.bnd (.txt) < prev    next >
DB2 Bind  |  1997-04-11  |  715b  |  20 lines

  1. SBSQLIBMAAlrXWJJNULLID  0
  2. BEGIN DECLARE SECTION
  3. END DECLARE SECTION
  4. DECLARE cursor_select CURSOR FOR stmt
  5. EXECUTE stmt USING DESCRIPTOR :sqlda_ptr 
  6. EXECUTE IMMEDIATE :sqlCommand
  7. COMMIT 
  8. PREPARE stmt FROM :sqlCommand
  9. COMMIT 
  10. FETCH cursor_select USING DESCRIPTOR :sqlda_ptr 
  11. CLOSE cursor_select
  12. PREPARE stmt INTO :sqlda_ptr  FROM :sqlCommand
  13. PREPARE stmt INTO :sqlda_ptr  FROM :sqlCommand
  14. OPEN cursor_select 
  15. EXECUTE stmt 
  16. CLOSE cursor_select
  17. COMMIT
  18. COMMIT
  19. sqlCommand
  20.